class_name FollowCamera
extends Camera2D

@export var player: Player
@export var start_offset: Vector2


func _process(delta: float) -> void:
	follow()
	pass


func init_target(player: Player):
	self.player = player
	#start_offset = global_position - player.global_position
	pass

func follow():
	if player == null: return
	var screen_size = Vector2(1920, 1080)
	global_position = player.global_position - offset
	pass
